//========encoding:utf-8=========
/*
 * @describe:  
 * @author:cjgong
 * @copyright:chinasoft.cn
 * @date:2020年1月17日 上午10:35:50 
 */

package edu.chinasoft.dao;

import edu.chinasoft.exception.UserNoExistsException;
import edu.chinasoft.pojo.PageUtilForUser;
import edu.chinasoft.pojo.User;

public interface UserDao {

	User insertTable(User user);

	PageUtilForUser selectTablePage(int currentPage, int pageUtil);

	User selectUserById(User user);

	boolean updateUserById(User user);

	boolean deleteUserById(User user);

	User selectUserByNameAndPassword(User user) throws UserNoExistsException;

}